#include<stdio.h>
#define SIZE 20
void deletechar(char *s,char c)
{
	char *q;q=s;
	for(q;*q!='\0';q++){
		if(*q!=c)
			*s++=*q;
		}
	*s='\0';
		
}

int main()
{
    char str[SIZE];
    char c;
//    printf("Please input a string.\n");
//    printf("The string can store %d character:",SIZE);
    gets(str);
//    printf("Please input the character you want delete:");
    scanf("%c",&c);
    deletechar(str,c);
//    printf("After deleting,The string is %s\n",str);
    puts(str);
    return 0;
}
